package com.horay.springclouddemo.sentinel.feign.fallback;

import com.horay.springclouddemo.sentinel.feign.client.SentinelFeignClient;
import org.springframework.http.ResponseEntity;

/**
 * Sentinel Fallback 客户端
 *
 * @author heyingcheng
 * @date 2020/4/4 17:55
 */
public class SentinelFallbackClient implements SentinelFeignClient {

    @Override
    public ResponseEntity methodA(Integer param) {
        return ResponseEntity.ok(SentinelFallbackClient.class.getName().concat(".methodA"));
    }

}
